package com.jianbing.shasha.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jianbing.common.annotation.Excel;
import com.jianbing.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 shasha_ques_music
 * 
 * @author ruoyi
 * @date 2024-06-15
 */
public class ShashaQuesMusic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 音乐路径 */
    @Excel(name = "音乐路径")
    private String musicPath;

    /** 音乐类型  */
    @Excel(name = "音乐类型 ")
    private String type;

    /** 插入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "插入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date insertTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMusicPath(String musicPath) 
    {
        this.musicPath = musicPath;
    }

    public String getMusicPath() 
    {
        return musicPath;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setInsertTime(Date insertTime) 
    {
        this.insertTime = insertTime;
    }

    public Date getInsertTime() 
    {
        return insertTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("musicPath", getMusicPath())
            .append("type", getType())
            .append("insertTime", getInsertTime())
            .toString();
    }
}
